<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>扫码二维码下载</title>
    <meta name="keywords" content="弘天下云商城、弘天下、购物平台" />
    <meta name="description" content="弘天下--重庆弘商电子商务公司搭建综合电子商务平台，跨界联盟，资源共享，互惠互利，互帮互助。通过平台来实现线上线下及多领域，跨行业的实体商业联盟，共同构建生态化，立体化，智能化的一个购物消费促销积分平台。帮助商家在平台利用促销积分的方式充分整合资源，抱团发展，锁定顾客，从而聚集到更多的数据，然后通过大数据的运作，让消费回归商业本质，真正达到拉动实体消费，建立产业链，建立消费循环，从而达到让平台，商家，消费者，三方共同受益的目的。" />
    <link rel="stylesheet" href="assets/css/scan.css">
    <script src="assets/js/jquery-1.8.3.min.js"></script>

    <script type="text/javascript">

        var browser = {
            versions: function () {
                var u = navigator.userAgent, app = navigator.appVersion;
                return {//移动终端浏览器版本信息
                    trident: u.indexOf('Trident') > -1, //IE内核
                    presto: u.indexOf('Presto') > -1, //opera内核
                    webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
                    gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核
                    mobile: !!u.match(/AppleWebKit.*Mobile.*/) || !!u.match(/AppleWebKit/), //是否为移动终端
                    ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
                    android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器
                    iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //是否为iPhone或者QQHD浏览器
                    iPad: u.indexOf('iPad') > -1, //是否iPad
                    webApp: u.indexOf('Safari') == -1 //是否web应该程序，没有头部与底部
                };
            }(),
            language: (navigator.browserLanguage || navigator.language).toLowerCase()
        }

        $(function () {

            if (browser.versions.ios || browser.versions.iPhone || browser.versions.iPad) {

                changeTab($(".ios"));
            }
            else if (browser.versions.android) {

                changeTab($(".android"));

            } else {

                $(".select").show();
            }


            // 切换
            $(".tab-box").on("click", ".tab div", function () {

                changeTab($(this));
            });

            // 下载
            $(".down").click(function (e) {

                var bol = isWeiXin();
                if (bol) {
                    $(".tips").show();
                    alert("请点击右上角-在浏览器中打开");
                    e.preventDefault();
                }
            });

            $(".tips").on("click", function () {

                $(this).hide();
            });

        });

        // 切换平台
        function changeTab(item) {

            var index = $(item).index();
            var oUl = $(item).closest(".tab-box").find("ul");
            $(item).addClass('active').siblings().removeClass("active");
            oUl.hide().eq(index).show();
        }

        // 是否为微信浏览器
        function isWeiXin() {
            var ua = window.navigator.userAgent.toLowerCase();
            if (ua.match(/MicroMessenger/i) == 'micromessenger') {
                return true;
            } else {
                return false;
            }
        }

    </script>
</head>
<body>

    <div class="warp">
        <div class="header">
            <div class="logo"><img src="assets/image/mobiledow/logo.png" alt="logo"></div>
        </div>
        <div class="hr-line"></div>
        <div class="content">
            <span class="bg-img"><img src="assets/image/mobiledow/bg.jpg" alt=""></span>
            <div class="ewm-box tab-box">
                <div class="tab select" style="display:none;">
                    <div class="and active android"><a href="javascript:;"><i class="icon-tab icon-and"></i><span>安卓</span></a></div>
                    <div class="ios"><a href="javascript:;"><i class="icon-tab icon-ios"></i><span>苹果</span></a></div>
                </div>
                <ul>
                    <li>
                        <span class="img-text"><img src="assets/image/mobiledow/business-text.png" alt=""></span>
                        <span class="img-ewm"><img src="assets/image/mobiledow/shop_android.png" alt=""></span>
                        <span class="text">手机二维码扫描</span>
                        <a href="http://www.htxysc.com/htxysc/down/com.jhm.flbiz_1.0_1.apk" class="down">点击下载</a>
                    </li>
                    <li>
                        <span class="img-text"><img src="assets/image/mobiledow/member-text.png" alt=""></span>
                        <span class="img-ewm"><img src="assets/image/mobiledow/user_android.png" alt=""></span>
                        <span class="text">手机二维码扫描</span>
                        <a href="http://www.htxysc.com/htxysc/down/com.jhm.fluser_1.0_1.apk" class="down">点击下载</a>
                    </li>
                </ul>
                <ul style="display: none;">
                    <li>
                        <span class="img-text"><img src="assets/image/mobiledow/business-text.png" alt=""></span>
                        <span class="img-ewm"><img src="assets/image/mobiledow/shop_ios.jpg" alt=""></span>
                        <span class="text">手机二维码扫描</span>
                        <a href="https://itunes.apple.com/cn/app/%E5%BC%98%E5%A4%A9%E4%B8%8B%E5%95%86%E5%AE%B6/id1259200827?mt=8" class="down">点击下载</a>
                    </li>
                    <li>
                        <span class="img-text"><img src="assets/image/mobiledow/member-text.png" alt=""></span>
                        <span class="img-ewm"><img src="assets/image/mobiledow/user_ios.jpg" alt=""></span>
                        <span class="text">手机二维码扫描</span>
                        <a href="https://itunes.apple.com/cn/app/%E5%BC%98%E5%A4%A9%E4%B8%8B%E4%BA%91%E5%95%86%E5%9F%8E/id1259201041?mt=8" class="down">点击下载</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="footer">
            <p>重庆弘商电子商务有限公司</p>
            <p>重庆聚弘铭科技有限公司 提供技术支持</p>
            <p>渝ICP备17020985号</p>
        </div>

        <div class="tips" style="display:none;"><img src="assets/image/mobiledow/tips.png" alt=""></div>
    </div>

</body>
</html>

